projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b94472f
)
Don't wait for toolbar in NS native fullscreen
author
Alan Third
<alan@idiocy.org>
Sat, 10 Jun 2017 21:44:01 +0000
(22:44 +0100)
committer
Alan Third
<alan@idiocy.org>
Sat, 10 Jun 2017 21:49:45 +0000
(22:49 +0100)
* src/nsterm.m (EmacsView:updateFrameSize): Don't short-circuit the
function when in fullscreen.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index e69aa43dd377ba1a3d655de5f6b9824283b30558..633ca3bf76bef5edc5c469a0bc30e1544ab38ec3 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-6560,7
+6560,10
@@
not_in_argv (NSString *arg)
if (wait_for_tool_bar)
{
- if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0)
+ /* The toolbar height is always 0 in fullscreen, so don't wait
+ for it to become available. */
+ if (FRAME_TOOLBAR_HEIGHT (emacsframe) == 0
+ && ! [self isFullscreen])
{
NSTRACE_MSG ("Waiting for toolbar");
return;